package com.iplant.aps.service.po.wms;

import com.iplant.aps.service.po.bpm.BPMTaskBase;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

/**
 * MES退料单
 *
 * @author YouWang·Peng
 *  2022-3-24 11:53:26
 */
public class MESMaterialReturn extends BPMTaskBase {

    /**
     * 序列化
     */
    private static final long serialVersionUID = 1L;
    /**
     * 工厂
     */
    public String Factory = "";
    /**
     * 入库业务类型：产线退料105
     */
    public String AsnType = "";
    public String AsnTypeText = "";
    public String CreateTimeText = "";
    /**
     * 预期退货时间2
     */
    public Calendar CreateTime1 = Calendar.getInstance();
    public String CreateTime1Text = "";
    /**
     * 工位班组长工号
     */
    public String MonitorNo = "";
    /**
     * 工位班组长名称
     */
    public String Monitor = "";
    /**
     * 车型ID
     */
    public int ProductID = 0;
    /**
     * 车型
     */
    public String ProductNo = "";
    /**
     * 修程ID
     */
    public int LineID = 0;
    /**
     * 修程
     */
    public String LineName = "";
    /**
     * 局段ID
     */
    public int CustomerID = 0;
    /**
     * 局段
     */
    public String CustomerCode = "";
    /**
     * 局段
     */
    public String CustomerName = "";
    /**
     * 订单ID
     */
    public int OrderID = 0;
    /**
     * 车号
     */
    public String PartNo = "";
    /**
     * 工位ID
     */
    public int PartID = 0;
    /**
     * 工位名称
     */
    public String PartName = "";
    /**
     * 工位编码
     */
    public String PartCode = "";
    /**
     * 创建人名称
     */
    public String Creator = "";
    /**
     * 推送失败的备注信息
     */
    public String MyRemark = "";
    /**
     * 退料时刻
     */
    public Calendar BackTime = Calendar.getInstance();
    public String BackTimeText = "";
    /*
     * 配送单号或工艺变更单号
     */
    public String RMaNO = "";

    /**
     * 推送状态
     */
    public int SendStatus = 0;
    /**
     * 推送描述
     */
    public String SendDesc = "";
    /**
     * 退料类型：1：主动退料 2：工艺变更退料
     */
    public int Type = 0;
    /**
     * 配送单ID
     */
    public int DemandID = 0;
    /**
     * 配送单编号
     */
    public String DemandNo = "";
    /**
     * 工艺变更ID
     */
    public int TechChangeID = 0;
    /**
     * 工艺变更单号
     */
    public String TechChangeNo = "";

    /**
     * BOM类型
     */
    public int BOMType = 0;

    // 辅助属性
    public List<MESMaterialReturnItem> ItemList = new ArrayList<MESMaterialReturnItem>();

    public MESMaterialReturn() {
        super();
    }

    public MESMaterialReturn(int iD, String factory, String asnType, String rMaNO, Calendar createTime,
                             Calendar createTime1, String monitorNo, String monitor, int productID, String productNo,
                             int lineID,
                             String lineName, int customerID, String customerCode, int orderID, String partNo,
                             int partID,
                             String partName, String partCode, int status, String creator, Calendar wBackTime) {
        super();
        ID = iD;
        Factory = factory;
        AsnType = asnType;
        Code = rMaNO;
        CreateTime = createTime;
        CreateTime1 = createTime1;
        MonitorNo = monitorNo;
        Monitor = monitor;
        ProductID = productID;
        ProductNo = productNo;
        LineID = lineID;
        LineName = lineName;
        CustomerID = customerID;
        CustomerCode = customerCode;
        OrderID = orderID;
        PartNo = partNo;
        PartID = partID;
        PartName = partName;
        PartCode = partCode;
        Status = status;
        Creator = creator;
        BackTime = wBackTime;
    }

    public int getDemandID() {
        return DemandID;
    }

    public void setDemandID(int demandID) {
        DemandID = demandID;
    }

    public String getDemandNo() {
        return DemandNo;
    }

    public void setDemandNo(String demandNo) {
        DemandNo = demandNo;
    }

    public int getTechChangeID() {
        return TechChangeID;
    }

    public void setTechChangeID(int techChangeID) {
        TechChangeID = techChangeID;
    }

    public String getTechChangeNo() {
        return TechChangeNo;
    }

    public void setTechChangeNo(String techChangeNo) {
        TechChangeNo = techChangeNo;
    }

    public int getType() {
        return Type;
    }

    public void setType(int type) {
        Type = type;
    }

    public int getID() {
        return ID;
    }

    public void setID(int iD) {
        ID = iD;
    }

    public String getFactory() {
        return Factory;
    }

    public void setFactory(String factory) {
        Factory = factory;
    }

    public String getAsnType() {
        return AsnType;
    }

    public void setAsnType(String asnType) {
        AsnType = asnType;
    }

    public String getMyRemark() {
        return MyRemark;
    }

    public void setMyRemark(String myRemark) {
        MyRemark = myRemark;
    }

    public String getRMaNO() {
        return RMaNO;
    }

    public void setRMaNO(String RMaNO) {
        this.RMaNO = RMaNO;
    }

    public Calendar getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Calendar createTime) {
        CreateTime = createTime;
    }

    public Calendar getCreateTime1() {
        return CreateTime1;
    }

    public void setCreateTime1(Calendar createTime1) {
        CreateTime1 = createTime1;
    }

    public String getMonitorNo() {
        return MonitorNo;
    }

    public void setMonitorNo(String monitorNo) {
        MonitorNo = monitorNo;
    }

    public String getMonitor() {
        return Monitor;
    }

    public void setMonitor(String monitor) {
        Monitor = monitor;
    }

    public int getProductID() {
        return ProductID;
    }

    public void setProductID(int productID) {
        ProductID = productID;
    }

    public String getProductNo() {
        return ProductNo;
    }

    public void setProductNo(String productNo) {
        ProductNo = productNo;
    }

    public int getLineID() {
        return LineID;
    }

    public void setLineID(int lineID) {
        LineID = lineID;
    }

    public String getLineName() {
        return LineName;
    }

    public void setLineName(String lineName) {
        LineName = lineName;
    }

    public int getCustomerID() {
        return CustomerID;
    }

    public void setCustomerID(int customerID) {
        CustomerID = customerID;
    }

    public String getCustomerCode() {
        return CustomerCode;
    }

    public void setCustomerCode(String customerCode) {
        CustomerCode = customerCode;
    }

    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }

    public String getPartNo() {
        return PartNo;
    }

    public void setPartNo(String partNo) {
        PartNo = partNo;
    }

    public int getPartID() {
        return PartID;
    }

    public void setPartID(int partID) {
        PartID = partID;
    }

    public String getPartName() {
        return PartName;
    }

    public void setPartName(String partName) {
        PartName = partName;
    }

    public String getPartCode() {
        return PartCode;
    }

    public void setPartCode(String partCode) {
        PartCode = partCode;
    }

    public int getStatus() {
        return Status;
    }

    public void setStatus(int status) {
        Status = status;
    }

    public String getCreator() {
        return Creator;
    }

    public void setCreator(String creator) {
        Creator = creator;
    }

    public String getCreateTimeText() {
        return CreateTimeText;
    }

    public String getCreateTime1Text() {
        return CreateTime1Text;
    }

    public void setCreateTimeText(String createTimeText) {
        CreateTimeText = createTimeText;
    }

    public void setCreateTime1Text(String createTime1Text) {
        CreateTime1Text = createTime1Text;
    }

    public List<MESMaterialReturnItem> getItemList() {
        return ItemList;
    }

    public void setItemList(List<MESMaterialReturnItem> itemList) {
        ItemList = itemList;
    }

    public String getAsnTypeText() {
        return AsnTypeText;
    }

    public String getCustomerName() {
        return CustomerName;
    }

    public void setAsnTypeText(String asnTypeText) {
        AsnTypeText = asnTypeText;
    }

    public void setCustomerName(String customerName) {
        CustomerName = customerName;
    }

    public String getRemark() {
        return MyRemark;
    }

    public Calendar getBackTime() {
        return BackTime;
    }

    public void setRemark(String remark) {
        MyRemark = remark;
    }

    public void setBackTime(Calendar backTime) {
        BackTime = backTime;
    }

    public String getBackTimeText() {
        return BackTimeText;
    }

    public void setBackTimeText(String backTimeText) {
        BackTimeText = backTimeText;
    }

    public int getSendStatus() {
        return SendStatus;
    }

    public void setSendStatus(int sendStatus) {
        SendStatus = sendStatus;
    }

    public String getSendDesc() {
        return SendDesc;
    }

    public void setSendDesc(String sendDesc) {
        SendDesc = sendDesc;
    }

    public int getBOMType() {
        return BOMType;
    }

    public void setBOMType(int BOMType) {
        this.BOMType = BOMType;
    }
}
